package com.cqq.print.base.dao.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.print.base.dao.domain.PContact;
import com.cqq.print.base.dao.mapper.PContactMapper;


/**
 * @author generated
 * @date 2015-07-01
 */


@Repository(value="pContactDao")
public class PContactDaoImpl extends com.cqq.common.core.base.BaseDao implements com.cqq.print.base.dao.PContactDao{

             @Autowired
             private PContactMapper pContactMapper;



    public int deleteByPrimaryKey(Integer id){
        return pContactMapper.deleteByPrimaryKey(id);
    }

    public int insert(PContact record){
        return pContactMapper.insert(record);
    }

    public int insertSelective(PContact record){
        return pContactMapper.insertSelective(record);
    }

    public PContact selectByPrimaryKey(Integer id){
        return pContactMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(PContact record){
        return pContactMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(PContact record){
        return pContactMapper.updateByPrimaryKey(record);
    }



}